<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>table</title>
    <link rel="stylesheet" href="css/index.css">
    <script src="js/vue.js"></script>
    <script src="js/index.js"></script>
</head>
<body>
<div id="app">
    <template>
        <el-table :data="tableData" style="width: 100%">
            <el-table-column prop="date" label="日期" width="180"></el-table-column>
            <el-table-column prop="name" label="姓名" width="180"></el-table-column>
            <el-table-column prop="address" label="地址"></el-table-column>
        </el-table>
    </template>
</div>

<script>
    new Vue({
        el:"#app",
        data:{
            tableData:[
                {"date":"2019.1.1","name":"chd","address":"sx"},
                {"date":"2019.1.1","name":"cx","address":"cd"},
                {"date":"2019.1.1","name":"cdf","address":"gd"},
            ]
        }
    })
</script>
</body>
</html>